<div id="breadcrumbs">
  # <a href="/">root</a> 
  {% for p in path %}
    {% if p.link %}
     / <a href="{{p.link}}">{{p.text|safe}}</a>
    {% else %}
      / {{p.text|safe}}
    {% endif %}
  {% endfor %}
  <br>
  {% if user.isLoggedIn %}
     <a href="/logout">[log out {{user.name}}]</a>
  {% else %}
     <a href="/login">[log in]</a>
  {% endif %}
</div>
